[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FORWARD IEXP
Function
Move the cursor forward(to the right) the number of columns specified
by IEXP without going past column 80
Syntax
FORWARD numcols
numcols - An integer expression of the number of columns to move to
the right. Valid values are 1 through 79.
Remarks
This statement will move the cursor to the right, nondestructively, a
specified number of columns. It will work with or without ANSI. If ANSI
is available (as reported by the ANSION() function) then it will use an
ANSI positioning command; otherwise it will re-display the specified
number of characters that are already on screen. ANSI is usually
faster, but re-displaying the existing information will get the job
done. Note that you cannot use this function to move beyond column 80;
to do so would require ANSI to move back up if necessary. So, if the
cursor is already in column 80 this statement will have no effect. And
if the cursor is in column 1 the maximum you could move forward would be
79 (column 1 + 79 columns = column 80).
Examples
PRINT "PIRNT is wrong"
DELAY 5*182/10
BACKUP 13
PRINT "RI"
FORWARD 6
PRINT "RIGHT"
DELAY 5*182/10
NEWLINE
WAIT
See Also:
ANSION()
ANSIPOS
BACKUP
GETX()
GETY()
GRAFMODE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson